package com.example.designpatterns.project.idempotent.idempotence;

/**
 * @author yanyun zhu
 * @version 1.0
 * @date 2022/1/21 13:42
 */
public interface IdempotenceStorage {

    boolean saveIfAbsent(String idempotenceId);
    void delete(String idempotenceId);

}
